﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Coding4Fun.Cannon.TechEdPhone.Empty.Enums;
using Coding4Fun.Cannon.TechEdPhone.Empty.Cannon;
using Microsoft.Devices.Sensors;

namespace Coding4Fun.Cannon.TechEdPhone.Empty.Controls
{
    public partial class AimView : AccelerometerUserControl
    {
        //text formatting
        private const string AngleFormat = "00.0";        

        //How Fast to pan 
        public static double PanSpeed { get; set; }

        //The current pan 
        public static double CurrentPan { get; private set; }


        public AimView()
        {
            InitializeComponent();
            PanSpeed = .3;

            //Starting values
            CurrentPan = 0;

        }

        public void CalculatePan(double yAxis)
        {
            
        }

    }
}
